package com.finger.eduservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(name = "service-order")
public interface OrderClient {

    @GetMapping("/orderservice/order/isBuy/{courseId}/{memberId}")
    public boolean isBuy(@PathVariable String courseId
            ,@PathVariable String memberId);
}
